Rewrite code - Fixes#19

Rewrite code responsible for reputation points + warning