both versions working