initial checkin
fixed whitespace to make IntelliJ happy
count num of args correctly