updated minor functionality