Implemented Frame and Focus