updated format to work with arrays