Removed duplicate function declaration