removed alerts/log statements used for debugging