updated readme and fixed distinct() issue