Completion of the front-end functionality
merge compelete front function