new arg for memory
fixed styles