modified code organization, playground now manipulates cahce and queue