making sure that only integers greater than 0 can be passed in as maxcalls