simple c-file
simple signal catching
main part