ready for remastering
standardized function identifiers (mostly) - not debugged yet