function now works removing test call