updated to use %