finally got todo ab right