added more frontend functionality