Added argument type of int to prepareArgs