added ruby syntax