well all the code was correct just needed to upgrade firmware.. todo add firmware check