Code package for OSMAR