first parts of stream alert conditions. #356