coordination functions added and related bugs fixed