working the dynamic part