using brew pkg (need testing)