what is the purpose of rom