Added some constant and documentation