Added seperate function to master