task 6 defined
profile memory created