amenede front method.
modified front method