updated code
updated specs