Removed pointless code