first draft of ij galaxy tools