working on some function things.