How to optimize your earnings