Removed duplicate method definition