added important vector methods