Removed unnecessary code
Using rewards properly checks, whether you can use given reward, or not