include cstdlib for rand()