initial import
first version with key triggering