checking for dot as required in #48