make function to have no dependencies