added calculate net income