finish base functions
Merge branch 'master' of github.com:friparia/lrm