removed duplicate method in model