Made change in input and counting in progress. Not working optimal yet.