Added basic dwm functions