added basic functionality with php assist