adapted to work with mijoshop