completed basic scalar calculation