squared inputs added