trying to make the frame from scratch.