sams primitive gui version - obsolete?