logical skeleton done
logic struc