Added val and clear methods

Title says it all