maze service
some logic
logic