records pagination and added helper class "misc"