deleted uneeded code