top blocks composition code added