working on derivatives more