added 'delete' function; little layout redo