Added function to call functions from other context