made functionality clearer