int handling on the frame image stack