Implement custom frame calculations