added support for other activities such as commisions etc.