updated beatData method