Applying Active record model

change ```new``` to lower case