started work on scores functions