Added attribute to memory
Added partially complete for to compiler