modified the deltachart a bit to be more functional