if and elses should be working now