make methods private and updated README