Kill and clearmem kinda working