first part of legion scroll implementation