rem obsolete code