little change thanks to @euxpom