removing double prototype