removed logs checking for increased performance