updated edictor, added alignment functionality