Removed an extraneous function