added ethan's code stubs