basic is done but getting data error
main added but still have problems