First adapter essay

Add the value function for a pack layout dynamically.