split function for better names
crude way of updating score