add interaction with craphical interface