added arguments
implimented arguments with btree db