Working with frames and objects