refactored strike and spare method