rename function to avoid exisiting constructor name error