added basic flock interface