added argument list and fixed problem