Added 'else' logic to change