GPI interface
work in progress
#