changed string to integer and fixed formatting. Working on conditionals