working state. Functionality done