printf added for test