backwards compatible ruby syntax