update readme and add division conditional