Completed basic functionality of DM