putting together basic shell
fix function name
small tweaks