Added prototype implementation of getFrame