added support for bounds