stub code for frames