STY and cleanup