Removed extraneous function