binary pages as class