started porting model physics