fixes unused result warning
rom object is now correctly heap allocated