added dynamic solution for DP-03