Basic semaphire example