implementation of galactic merchant