adding updated code, including trigger
updated readme