moved get reviews function to own file