added func for testing
new func for testing