Added preliminary code for creating limits for any type of value