implemented logic for paying slots