working on draft view funcationality