If else and other stuff