change prototype of load