Create function inside the struct