oh by bad this function is exported....don't mind the comment above