functional ram model