Fixed mark command. Was printing wrong values to shell.