removed function in castalia script