methods for allocate/free memory, execute code