Working all functions

Everything is working fine, but need the details