Initial version of automark