US05-SQ-02

Updated code for US05 according code review notes 
make sure that ctypes library works on linux