seems to be similar to other solutions but it doesnt compile ? thanks for helping