- better cmd handling -> func.ptr
