Working on refactor to split up frames.