Removed an extraneous function def