optimize and get the ElePHPant moving