updated removing the outside processing.