Removed the duplicate method definition