initial dsa implementation