Removed not required 'if else'