Liapunov functions and boundedness and global existence of solutions