Got rid of comments, added threshold for control