Just added a signature and removed some unneeded code