added barfeature.c