remove unneeded complement() function