Added constants and doc