implemented cosmetic changes suggested by Ravi