Secondary outcome measures were changes over the course of the trial regarding the HAMD , the Beck Depression Inventory ( BDI ) , the Clinical Global Impression ( CGI ) and the Global Assessment of Functioning ( GAF ) scales .