removing the need to add begging an end index to initial call.