Function for passing Open/Closed written, but NOT working.