removed the extraneous function