work on velocity and smarty