updated reverted changes to fix commit bug

updated changes