color_pattern and memory manager now fully functional!