Removed all warnings related to my code