fixed square and removed explicit declaration of frames