some simple functional problems