Model for collective motion