all my code for frs