reworking epub - messy for now