user data block selection loop added