a simple flash light application