checking branches