Added new dependency
Minor fixes
Added new record function