using Messages.OK instead of 0