fixing bugs and now, the DSGD is fucking working =)