Added optional format arg