refactored that sheeet to be properly mvc