Removed an error check as its already checked elsewhere