added algorithm UI