placeFree function