started the generate box, added appropriate arguments to various functions