refactoring code. Created feedback page