added/fixed more backend functionality