dsf development, partially debugged