simple gc on function application